package cn.com.tianpeidong.restaurantadmin.project.admin.role.service;

import cn.com.tianpeidong.restaurantadmin.project.admin.role.entity.Role;
import cn.com.tianpeidong.restaurantadmin.project.admin.role.vo.OperateRole;
import cn.com.tianpeidong.restaurantadmin.project.admin.role.vo.RoleVO;

import java.util.List;

/**
 * @author tianpeidong
 * @version 创建时间: 19-4-7 下午6:24
 */
public interface IRoleService {
    void delete(Long roleId);

    Role edit(OperateRole operateRole);

    Role add(OperateRole operateRole);

    List<RoleVO> listRole(RoleVO roleVo);

    Role getRoleById(Long id);
}
